package com.qdxwx.data.mapper.bank;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.bank.BankCard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface BankCardMapper {

    long insertBankCard(BankCard bankCard);

    List<BankCard> selectList(@Param("e") BankCard bankCard, @Param("page") PageRequest page);

    int selectCount(@Param("e") BankCard bankCard);

    BankCard selectById(long id);
}
